home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group96a.txt / 000050_icon-group-sender _Fri Feb 16 16:25:36 1996.msg < prev    next >
Internet Message Format  |  1996-09-05  |  924b

  1. Received: by cheltenham.cs.arizona.edu; Fri, 16 Feb 1996 16:20:29 MST
  2. Date: Fri, 16 Feb 96 16:25:36 CST
  3. From: escargo@anubis.network.com (David S. Cargo)
  4. Message-Id: <9602162225.AA23371@anubis.network.com>
  5. To: icon-group@cs.arizona.edu
  6. Subject: procedure names
  7. Errors-To: icon-group-errors@cs.arizona.edu
  8. Status: O
  9.  
  10. Is there any way for a program to find out the names of procedures that
  11. are in the program?  I'm thinking about measuring test-coverage by
  12. determining if a procedure has been called or not.  I'd like to use the
  13. preprocessor to either insert a prodecure name in a set or increment a
  14. counter in a table when a procedure is called.  While this can mark
  15. when procedures are called, it can't tell when a procedure is not
  16. called.  This would be something like tcl's "info procs" command.
  17.  
  18. Examining the .u1, .u2, or .icx files might be acceptable, but I'd
  19. like a source-level solution.
  20.  
  21. dsc
  22.  
  23.